package com.antis.olsl.magic.report.weekly;

import com.antis.olsl.base.BasePresenter;
import com.antis.olsl.base.BaseView;
import com.antis.olsl.magic.response.GetSalesSummaryResp;

import java.util.Map;

public class WeeklyContract {

    interface Presenter extends BasePresenter {
        void takeView(WeeklyContract.View view);

        void getWeekSalesSummary(Map<String, Object> map);
    }

    interface View extends BaseView<Presenter> {
        void getWeekSalesSummarySuccess(GetSalesSummaryResp.ContentBean bean);

        void getWeekSalesSummaryFailure(String msg);

        void getWeekSalesSummaryEmpty();
    }
}
